<?php
/**
 * PHP Framework Seo Product Category Uri class
 *
 * @author Andrew <andrew@vitche.com>
 * @author Frozen Rain <frozenrain@mail.ru>
 **/
class ProductCategoryUri extends FriendlyUri {

    public static function buildWithProductCategory($ProductCategory, $page = 0) {

        $result = '';
        $result .= FriendlyUri::buildFriendlyString($ProductCategory->name);
        $result .= '-c' . $ProductCategory->id . "-$page.html";
        return $result;
    }
}
?>